package main;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class Main {
	
	private void Connect(String host, String user, String pass) {
		
		try {
			Class.forName("com.mysql.jdbc.Driver");
			Connection con = DriverManager.getConnection(host, user, pass);
			con.close();
		} catch (Exception e) {
			e.printStackTrace();
		}
		
	}
	
	public Main() {
		
		Connect("jdbc:mysql:http://drexlt.no-ip.info/test", "andre", "andre");
		
	}
	
	public static void main(String[] args) {
		
		new Main();
		
	}
	
}
